package service

import (
	"znet/zrpc"
	"znet/zconst/zcmd"
	"demo/gate/rpcservice"
)
type ServiceImpl struct {
}
func (this *ServiceImpl)OnRpcMessage(args *zrpc.RpcArgsRes) *zrpc.RpcArgsRes  {
	switch args.Cmd {
	case zcmd.CMD_ZNET_REGITSER:
		return rpcservice.Module.RegisterService(args)
	}
	return args
}
